#ifndef SLEEFSMODEL_H
#define SLEEFSMODEL_H

#include <QFileSystemModel>
#include <QColor>

class SleeFSModel : public QFileSystemModel
{
    Q_OBJECT
    static QColor mqc_normal, mqc_3days, mqc_1day, mqc_12h, mqc_fresh;

    QList<QString> mql_selected;

private:
    QVariant get_text_color(const QModelIndex &index) const;
public:
    explicit SleeFSModel(QObject *parent = 0);
    virtual QVariant data(const QModelIndex &index, int role) const;
    void or_to_select(const QModelIndex &index);

    bool remove_from_select(const QString &qstr_path);

    void clear_selection() {mql_selected.clear();}
    QStringList selected_paths() const;
signals:

public slots:

};

#endif // SLEEFSMODEL_H
